package com.ruoyi.teacher.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 领取任务对象 t_task
 * 
 * @author ruoyi
 * @date 2022-12-27
 */
public class TTask extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 序号 */
    private Long id;

    /** 任务标题 */
    @Excel(name = "任务标题")
    private String title;

    /** 任务说明 */
    @Excel(name = "任务说明")
    private String note;

    /** 任务状态 */
    @Excel(name = "任务状态")
    private Integer state;

    /** 一次性 */
    @Excel(name = "一次性")
    private Integer oneOff;

    /** 领取次数 */
    @Excel(name = "领取次数")
    private Integer getCount;

    /** 发布人 */
    @Excel(name = "发布人")
    private String issuer;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setNote(String note) 
    {
        this.note = note;
    }

    public String getNote() 
    {
        return note;
    }
    public void setState(Integer state) 
    {
        this.state = state;
    }

    public Integer getState() 
    {
        return state;
    }
    public void setOneOff(Integer oneOff) 
    {
        this.oneOff = oneOff;
    }

    public Integer getOneOff() 
    {
        return oneOff;
    }
    public void setGetCount(Integer getCount) 
    {
        this.getCount = getCount;
    }

    public Integer getGetCount() 
    {
        return getCount;
    }
    public void setIssuer(String issuer) 
    {
        this.issuer = issuer;
    }

    public String getIssuer() 
    {
        return issuer;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("title", getTitle())
            .append("note", getNote())
            .append("state", getState())
            .append("oneOff", getOneOff())
            .append("getCount", getGetCount())
            .append("issuer", getIssuer())
            .toString();
    }
}
